package org.jsrml.core.purchaser.exception;

import org.jsrml.common.persistence.BaseException;

@SuppressWarnings("serial")
public class PurchaserException extends BaseException {

	public final static String COMPANY_NOT_FOUND = "company_not_found";//公司没有找到
	public final static String DEPARTMENT_NOT_FOUND = "department_not_found";//部门没有找到
	public final static String POSITIONS_NOT_FOUND = "positions_not_found";//职务没有找到
	public final static String WORKER_NOT_FOUND = "worker_not_found";//管理员帐号不存在
	public final static String PASSWORD_WRONG = "passwork_wrong";//用户名密码不匹配
	
	public PurchaserException(Integer code, String message) {
		super(code, message);
	}

	public PurchaserException(String code, String message) {
		super(code, message);
	}

}
